package com.gupaoedu.vip;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * @Author: JLL
 * @Date: 2019/6/18 17:13
 */
@Configuration
@ComponentScan(basePackages = "com.gupaoedu.vip")
public class SpringConfig {

    @Bean(name = "gpRpcServer")
    public GpRpcServer gpRpcServer(){
        return new GpRpcServer(8080);
    }
}
